package com.Ajava1704.for设计模式.for静态代理;

import javax.xml.bind.SchemaOutputResolver;

/**
 * 作者: LCG
 * 日期: 2020/2/14 09:49
 * 描述:
 */
public class ForJingTaiProxy implements ForJingTaiInterface{

    private ForJingTaiInterface forJingTaiInterface;

    public ForJingTaiProxy(ForJingTaiInterface forJingTaiInterface) {
        this.forJingTaiInterface = forJingTaiInterface;
    }


    public String test(){
        System.out.println("=========原方法执行前的增强==========");
        String test = forJingTaiInterface.test();
        System.out.println("=========原方法执行后的增强==========");

        return test;
    }
}
